package com.by.service;

import com.by.bean.Employee;

import com.by.common.bean.PageBean;

import java.util.List;


/**
 * @author HY
 * @version 1.0
 * @description
 * @date 2025/2/18
 * @since JDK21
 */
public interface EmployeeService {

    List<Employee> queryByName(String name,String departmentName);

    int save(Employee employee);

    int update(Employee employee);

    int delete(String id);

    PageBean queryList(int page, int pageSize);
}
